package com.htw.rv.fast_scroller.adapter

import androidx.recyclerview.widget.RecyclerView
import com.htw.rv.fast_scroller.databinding.LayoutRvItemBinding

class RvAdapterVH(private val binding: LayoutRvItemBinding): RecyclerView.ViewHolder(binding.root) {

    fun bind(itemData: RvItemData) {
        binding.ivImg.setImageResource(itemData.imgResId)
        binding.tvName.text = itemData.name
    }
}